<%@ page import="com.example.ordersystem.domain.Customer" %><%--
  Created by IntelliJ IDEA.
  User: 檬zhu
  Date: 2021/12/3
  Time: 19:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>个人信息页面</title>
    <!-- 引入 layui.css -->
    <link rel="stylesheet" href="${pageContext.request.contextPath}/resources/layui/css/layui.css">
    <!-- 引入 layui.js -->
    <script src="${pageContext.request.contextPath}/resources/layui/layui.js"></script>
</head>
<body>
<%
    Customer customer = (Customer) session.getAttribute("customer");
%>
<center>
<div style="margin: 20px;">
    <form class="layui-form layui-form-pane" action="form.html" style="margin-left: 50px">
        <div class="layui-form-item">
            <label class="layui-form-label">账号</label>
            <div class="layui-input-inline">
                <input type="text" lay-verify="required" value="${customer.getNum()}" disabled="disabled" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">用户名</label>
            <div class="layui-input-inline">
                <input type="text" lay-verify="required" value="${customer.getName()}" disabled="disabled" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">手机号</label>
            <div class="layui-input-inline">
                <input type="text" lay-verify="required" value="${customer.getTel()}" disabled="disabled" autocomplete="off" class="layui-input">
            </div>
        </div>
    </form>
</div>
</center>
</body>


</html>
